package practice03;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice03
 * @ClassName: Instrument
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/8 14:12
 * @Copyright 大牛版板所有
 */
public class Instrument {
    private String name;
    private double price;

    public Instrument() {
    }

    public Instrument(String name, double price) {
        this.name = name;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void play(){

    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
